
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.TaskPighouse;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage TaskPighouse entities.
 * 
 */
public interface TaskPighouseDAO extends JpaDao<TaskPighouse> {

	/**
	 * JPQL Query - findTaskPighouseById
	 *
	 */
	public TaskPighouse findTaskPighouseById(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPighouseById
	 *
	 */
	public TaskPighouse findTaskPighouseById(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPighouseByPrimaryKey
	 *
	 */
	public TaskPighouse findTaskPighouseByPrimaryKey(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPighouseByPrimaryKey
	 *
	 */
	public TaskPighouse findTaskPighouseByPrimaryKey(Integer id_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPighouseByMemoContaining
	 *
	 */
	public Set<TaskPighouse> findTaskPighouseByMemoContaining(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPighouseByMemoContaining
	 *
	 */
	public Set<TaskPighouse> findTaskPighouseByMemoContaining(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllTaskPighouses
	 *
	 */
	public Set<TaskPighouse> findAllTaskPighouses() throws DataAccessException;

	/**
	 * JPQL Query - findAllTaskPighouses
	 *
	 */
	public Set<TaskPighouse> findAllTaskPighouses(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPighouseByMemo
	 *
	 */
	public Set<TaskPighouse> findTaskPighouseByMemo(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPighouseByMemo
	 *
	 */
	public Set<TaskPighouse> findTaskPighouseByMemo(String memo_1, int startResult, int maxRows) throws DataAccessException;

}